package com.goodlearning.gloriamobile.dto;

import java.io.Serializable;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 연속적으로 3 번 호룰한 결과에 대한 DTO
 * 
 * 총 13 개 변수
 * 
 * 1.requestGetAttendViewInfo (성공:년도(hYear), 학년(hnNm), 학기명(tNm), 강좌명(lecNm),
 * 교육기간시작일(gaeGangDay), 교육기간종료일(jongGangDay), 강사명(nm), 학점(hakJeom)) 학기(hakgi)
 * 2.requestGetAttendTotal (성공:전체수업일(totAttend)) 3.requestGetAttendView
 * (성공:주차(Lweek), 년월일(tDate), 교시(gyosi), 출석상태(attendStatus))
 * 
 * @author rapty54
 * 
 */
public class GetSuccessionCallResultDto implements Parcelable, Serializable {

	/**
	 * 
	 * 연속적으로 3 번 호룰한 결과에 대한 DTO
	 */
	private static final long serialVersionUID = 6065853325019123158L;

	private String hYear;
	private String hnNm;
	private String tNm;
	private String lecNm;
	private String gaeGangDay;
	private String jongGangDay;
	private String nm;
	private String hakJeom;
	private String hakgi;
	

	public String gethYear() {
		return hYear;
	}

	public void sethYear(String hYear) {
		this.hYear = hYear;
	}

	public String getHnNm() {
		return hnNm;
	}

	public void setHnNm(String hnNm) {
		this.hnNm = hnNm;
	}

	public String gettNm() {
		return tNm;
	}

	public void settNm(String tNm) {
		this.tNm = tNm;
	}

	public String getLecNm() {
		return lecNm;
	}

	public void setLecNm(String lecNm) {
		this.lecNm = lecNm;
	}

	public String getGaeGangDay() {
		return gaeGangDay;
	}

	public void setGaeGangDay(String gaeGangDay) {
		this.gaeGangDay = gaeGangDay;
	}

	public String getJongGangDay() {
		return jongGangDay;
	}

	public void setJongGangDay(String jongGangDay) {
		this.jongGangDay = jongGangDay;
	}

	public String getNm() {
		return nm;
	}

	public void setNm(String nm) {
		this.nm = nm;
	}

	public String getHakJeom() {
		return hakJeom;
	}

	public void setHakJeom(String hakJeom) {
		this.hakJeom = hakJeom;
	}

	

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public GetSuccessionCallResultDto() {

	}

	public GetSuccessionCallResultDto(Parcel in) {
		readFromParcel(in);
	}

	@Override
	public int describeContents() {
		return 0;
	}

	public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
		public GetSuccessionCallResultDto createFromParcel(Parcel in) {
			return new GetSuccessionCallResultDto(in);
		}

		public GetSuccessionCallResultDto[] newArray(int size) {
			return new GetSuccessionCallResultDto[size];
		}
	};

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(hYear);
		dest.writeString(hnNm);
		dest.writeString(tNm);
		dest.writeString(lecNm);
		dest.writeString(gaeGangDay);
		dest.writeString(jongGangDay);
		dest.writeString(nm);
		dest.writeString(hakJeom);
		dest.writeString(hakgi);
		

	}

	private void readFromParcel(Parcel in) {
		hYear = in.readString();
		hnNm = in.readString();
		tNm = in.readString();
		lecNm = in.readString();
		gaeGangDay = in.readString();
		jongGangDay = in.readString();
		lecNm = in.readString();
		nm = in.readString();
		hakJeom = in.readString();
		hakgi = in.readString();
		

	}

	public String getHakgi() {
		return hakgi;
	}

	public void setHakgi(String hakgi) {
		this.hakgi = hakgi;
	}

}
